Repository navigation
Conversation
A company self-built Feishu bot can receive a private card for a PermissionRequest, with Allow once and Deny. A text reply never approves, and the App Secret stays in the Keychain.
8c40291 to
4ba5559
Compare
|
Thanks a lot for this, @tombang. It's a carefully thought-out feature: the decision goes to the request id rather than whatever card is on screen, there's no remote Always allow, chat text never counts as an answer, the App Secret goes over stdin instead of argv or the environment, and every way a request can leave the queue is reported back to the helper. Those are exactly the right instincts, and they made this much easier to review. Why this stays open for now: this PR changes the release build. Meanwhile, here's what the review found, most important first. We built it, ran the Swift and Go tests, and probed the helper offline. Nothing was run against a Feishu tenant. Needs changes before it can merge
Should fix
Smaller things
What checked out:
Developer ID signing and notarization still need my own run. Thanks again. The core design is sound, and with these addressed it'll be much easier to say yes. |
Summary
PermissionRequests. A company self-built bot sends a private card with Allow once and Deny.feishu-bridge, the official Go SDK long connection. CI installs Go 1.23 beforebuild-dmg.sh.This was tested locally against a self-built Feishu app: deny, allow once, and a text reply that must not approve.
Test plan
Contents/Helpers/feishu-bridgeis present.